n=eval(input("请输入若干个体重："))
weight=set(n)
average=sum(weight)/len(weight)
print("平均体重为",average)
surpass=set()
for i in weight:
    if i>average:
        surpass.add(i)
print("以下列出了超过平均值的体重：")
for item in surpass:
    print(item,end=" ")
